import request from '../networks/request';
// 注册 传递邮箱和密码
export const loginMail = (data) => {
    return request({
        url: '/userlogin',
        method: 'post', 
        data:data , 
    });
};

//获取用户数据 设置全局
export const getMail = (data) => {
    return request({
        url: '/user/findByMailbox',
        method: 'post', 
        data:data , 
    });
};